# -*- coding:utf-8 -*-

# @Time : 2023/5/15 12:06
# @Author : 快乐的小猴子
# @Version : 
# @Function : 


send_requests_list = [
    'requests.get(url=url, headers=settings.headers, proxies=Proxies().get_proxies()).json()',
]
url = 'http://www.csrc.gov.cn/searchList/{}?_isAgg=true&_isJson=true&_pageSize=10&_template=index&_rangeTimeGte=&_channelName=&page={}'
str_infos = [
    '>>>>>>>>>>>>>>>>>>>>>>>>>>',
]

####### 政策
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36'
}

###### 按主题查看
# url_topic = 'http://www.csrc.gov.cn/getChannelList?channelCode=c101793'
# url_topic = 'http://www.csrc.gov.cn/getChannelList?channelCode=c106378'     # c106378   c106223
url_child = 'http://www.csrc.gov.cn/getChannelList?channelCode={}'
url_topic = 'http://www.csrc.gov.cn/getChannelList?channelCode=c101979'

topics_dics = {
    'c101794': ('c101794', '综合政务'),
    'c101801': ('c101801', '发行监管'),
    'c101828': ('c101828', '公众公司监管（含北交所）'),
    'c101832': ('c101832', '证券交易监管'),
    'c101837': ('c101837', '证券经营机构监管'),
    'c101863': ('c101863', '上市公司监管'),
    'c101876': ('c101876', '基金监管'),
    'c101938': ('c101938', '私募基金监管'),
    'c106301': ('c106301', '区域性股权市场规范发展'),
    'c101901': ('c101901', '期货监管'),
    'c106306': ('c106306', '债券监管'),
    'c101925': ('c101925', '行政执法'),
    'c105938': ('c105938', '行政复议'),
    'c101931': ('c101931', '国际合作'),
    'c105939': ('c105939', '证券服务机构监管'),
    'c101950': ('c101950', '其他'),
    'c106378': ('c106378', '主板注册审核')
}
